package com.sina.shop.manage.dao.goods;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.goods.Goods;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2018-01-11-14:09
 */
public interface GoodsManageDao extends BaseDao {

    List<Map<String, Object>> getGoodsIdAndName();

    int deleteGoods(Long id);

    List<Map<String, Object>> getGoodsList(Goods goods);

    List<Goods> getGoodsList();

    Long getGoodsCount(Goods goods);

    List<Goods> getGoodsByAdminAccount(String account);
}
